﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]}</title>
<link href="{webroot}lib/css/base.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/downshow.css" rel="stylesheet" type="text/css" />
{if iscomment=1 and syscomment}<link href="{webroot}theme/default/css/comment.css" rel="stylesheet" type="text/css" />{/if}
<script>var webroot="{webroot}",infoid="{rsshow[cid]}",murl="show.asp?id={id}",contenturl="{contenturl}";</script>
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
{if sdcms[sys_mobile]}<script src="{webroot}lib/js/mobile.js"></script>{/if}
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
<script src="{webroot}lib/dialog/artdialog.js"></script>
{if moodconfig}<script src="{webroot}lib/js/sdcms.mood.js"></script>{/if}
<script src="{webroot}lib/js/sdcms.hits.js"></script>
{if iscomment=1 and syscomment}<script src="{webroot}lib/js/sdcms.comment.js"></script>{/if}
<script src="{webroot}lib/js/sdcms.down.js"></script>
</head>

<body>
    {sdcms:include("../../sdcms_head.asp")}
    
    <div id="position">您所在的位置：<a href="{webroot}">首页</a>{sdcms.getpostion(parentid," > ")} > 正文</div>
    <div class="w980 mt10 mc">
        <div class="b downinfo">
            <h1>{title}</h1>
            <div class="pic"><img src="{if ispic=0}{webroot}theme/default/images/nodown_big.gif{else}{pic}{/if}" width="200" /></div>
            <div class="info">
                <ul>
                    <li><strong>软件版本：</strong>{rsshow[version]}</li>
                    <li><strong>软件大小：</strong>{rsshow[softsize]}{rsshow[sizeunit]}</li>
                    <li><strong>软件语言：</strong>{rsshow[language]}</li>
                    <li><strong>软件授权：</strong>{rsshow[license]}</li>
                    <li><strong>软件属性：</strong>{rsshow[property]}</li>
                    <li><strong>操作系统：</strong>{rsshow[os]}</li>
                    <li><strong>编程语言：</strong>{rsshow[devlanguage]}</li>
                    <li><strong>数据库类型：</strong>{rsshow[database]}</li>
                    <li><strong>软件作者</strong>：<a href="{rsshow[developerurl]}" target="_blank">{rsshow[developers]}</a></li>
                    <li><strong>软件演示URL：</strong><a href="{rsshow[demourl]}" target="_blank">{rsshow[demourl]}</a></li>
                    <li><strong>软件星级：</strong>{for i=1 to rsshow[stars]}<img src="{webroot}theme/default/images/star.gif" />{/for}</li>
                    <li><strong>下载所需积分：</strong><span>{point}</span></li>
                    <li><strong>人气：</strong><span id="hits">{hits}</span></li>
                    <li><strong>标签：</strong>{for i=0 to ubound(tags)}<a href="{webroot}plug/tags.asp?tag={server.urlencode(tags(i))}">{tags(i)}</a> {/for}</li>
                </ul>
            </div>
            <div class="c"></div>
        </div>
    </div>
    <div class="w980 mt10 mc" id="container">
        <div class="left">
            <div class="mr10 b">
                <div class="subject">软件介绍</div>
                <div class="p20">
                        {content}
                </div>
            </div>
            
            <div class="mr10 mt10 b">
                <div class="subject">下载地址</div>
                <div class="downurl">
                    <ul>
                    {dim wayarr:wayarr=split(rsshow[downway],",")}
                    {for i=0 to ubound(wayarr)}
                        <li><a href="javascript:;" class="downlist" config="{id}:{point}:{i}">{wayarr(i)}</a></li>
                    {/for}
                    </ul>
                </div>
            </div>
            
            {if iscomment=1 and syscomment}
            <div class="b mt10 mr10">
                <div class="subject"><span><a href="{webroot}plug/comment.asp?id={id}">更多>></a></span>网友评论</div>
                <div class="p10"><div id="commenttop"></div></div>
            </div>
            
            <div class="b mt10 mr10">
                <div class="subject">发表评论</div>
                <div class="p10">
                    <div id="comment_staus"></div>
                </div>
            </div>
            {/if}
        </div>
        <div class="right">
            <div class="b">
                <div class="subject">下载排行</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and classid=[classid]" order="hits desc,id desc"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}
                </ul>
            </div>
            {if likeid<>"0"}
            <div class="b mt10">
                <div class="subject">相关下载</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and id in([likeid])" order="ontop desc,id desc"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}
                </ul>
            </div>
            {/if}
        </div>
    </div>
    {sdcms:include("../../sdcms_foot.asp")}